home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-03-19 | 1.1 KB | 49 lines | [TEXT/CWIE] |
- // CAboutDialog.h -- dialog class
- // Created 3/19/96 12:49 PM by AppMaker
-
- #pragma once
-
- #include <LDialogBox.h>
-
- class LStream;
-
- class LStdButton;
-
- #define cmd_AboutDialog 'Abog'
-
- //----------
- class CAboutDialog : public LDialogBox {
- public: // these comprise the programming interface for using the dialog
- static CAboutDialog* CreateAboutDialog (LCommander *inSuperCommander);
-
- public: // these comprise the implementation
- static CAboutDialog* CreateAboutDialogStream (LStream *inStream);
-
- CAboutDialog();
- CAboutDialog (LStream *inStream);
- virtual ~CAboutDialog();
-
- virtual void ListenToMessage (MessageT inMessage,
- void *ioParam);
-
- virtual Boolean ObeyCommand (CommandT inCommand,
- void *ioParam = nil);
- virtual void FindCommandStatus (CommandT inCommand,
- Boolean &outEnabled,
- Boolean &outUsesMark,
- Char16 &outMark,
- Str255 outName);
- virtual Boolean FocusDraw();
-
- protected:
- static void RegisterClass();
- virtual void FinishCreateSelf();
-
- protected:
-
- protected:
- static Boolean sIsRegistered;
-
- LStdButton* mOKButton;
- };
-